﻿using Data.DAO;
using www.Models;

namespace Data.BO
{
    public class AdvertiseValueBO//:BaseBO<AdvertiseDAO,RelaxAdvertise>
    {
        #region Value
        private readonly AdvertiseValueDAO DAO = new AdvertiseValueDAO();
        #endregion

        #region Ham Lay du lieu
        
        #endregion

        #region ham Add
        public void Add(ADVERTISE_VALUE advertise)
        {
            DAO.Add(advertise);
        }
       
        #endregion

        #region Ham Update

        public bool Update(ADVERTISE_VALUE advertise)
        {
           return DAO.Update(advertise);
        }
        #endregion

        #region Ham Delete

        public void Delete(long  iId,long iLanguageCode)
        {
            DAO.Delete(iId,iLanguageCode);
        }
        #endregion
    }
}
